package cn.edu.sdjzu.xg.eagle.bysj.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.lang.reflect.InvocationTargetException;
import java.util.Date;


/**
 * 处理报销
 * 数据库通用操作实体类（普通增删改查）
 * @author 
 * @email 
 * @date 2025-06-02 13:29:28
 */
@TableName("chulibaoxiao")
public class ChulibaoxiaoEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	public ChulibaoxiaoEntity() {
		
	}
	
	public ChulibaoxiaoEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	/**
	 * 主键id
	 */
	@TableId(type = IdType.AUTO)
	private Long id;
	/**
	 * 标题
	 */
					
	private String biaoti;
	
	/**
	 * 岗位名称
	 */
					
	private String gangweimingcheng;
	
	/**
	 * 费用发生地
	 */
					
	private String feiyongfashengdi;
	
	/**
	 * 项目名称
	 */
					
	private String xiangmumingcheng;
	
	/**
	 * 报销种类
	 */
					
	private String baoxiaozhonglei;
	
	/**
	 * 单据张数
	 */
					
	private String danjuzhangshu;
	
	/**
	 * 申请金额
	 */
					
	private Double shenqingjine;
	
	/**
	 * 账户名称
	 */
					
	private String zhanghumingcheng;
	
	/**
	 * 开户银行
	 */
					
	private String kaihuyinxing;
	
	/**
	 * 申请账号
	 */
					
	private String shenqingzhanghao;
	
	/**
	 * 申请人
	 */
					
	private String shenqingren;
	
	/**
	 * 部门
	 */
					
	private String bumen;
	
	/**
	 * 审批状态
	 */
					
	private String shenpizhuangtai;
	
	/**
	 * 审批意见
	 */
					
	private String shenpiyijian;
	
	/**
	 * 审批时间
	 */
				
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat 		
	private Date shenpishijian;
	
	/**
	 * 工号
	 */
					
	private String gonghao;
	
	/**
	 * 姓名
	 */
					
	private String xingming;
	
	/**
	 * 跨表用户id
	 */
					
	private Long crossuserid;
	
	/**
	 * 跨表主键id
	 */
					
	private Long crossrefid;
	

	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;

	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 设置：标题
	 */
	public void setBiaoti(String biaoti) {
		this.biaoti = biaoti;
	}
	/**
	 * 获取：标题
	 */
	public String getBiaoti() {
		return biaoti;
	}
	/**
	 * 设置：岗位名称
	 */
	public void setGangweimingcheng(String gangweimingcheng) {
		this.gangweimingcheng = gangweimingcheng;
	}
	/**
	 * 获取：岗位名称
	 */
	public String getGangweimingcheng() {
		return gangweimingcheng;
	}
	/**
	 * 设置：费用发生地
	 */
	public void setFeiyongfashengdi(String feiyongfashengdi) {
		this.feiyongfashengdi = feiyongfashengdi;
	}
	/**
	 * 获取：费用发生地
	 */
	public String getFeiyongfashengdi() {
		return feiyongfashengdi;
	}
	/**
	 * 设置：项目名称
	 */
	public void setXiangmumingcheng(String xiangmumingcheng) {
		this.xiangmumingcheng = xiangmumingcheng;
	}
	/**
	 * 获取：项目名称
	 */
	public String getXiangmumingcheng() {
		return xiangmumingcheng;
	}
	/**
	 * 设置：报销种类
	 */
	public void setBaoxiaozhonglei(String baoxiaozhonglei) {
		this.baoxiaozhonglei = baoxiaozhonglei;
	}
	/**
	 * 获取：报销种类
	 */
	public String getBaoxiaozhonglei() {
		return baoxiaozhonglei;
	}
	/**
	 * 设置：单据张数
	 */
	public void setDanjuzhangshu(String danjuzhangshu) {
		this.danjuzhangshu = danjuzhangshu;
	}
	/**
	 * 获取：单据张数
	 */
	public String getDanjuzhangshu() {
		return danjuzhangshu;
	}
	/**
	 * 设置：申请金额
	 */
	public void setShenqingjine(Double shenqingjine) {
		this.shenqingjine = shenqingjine;
	}
	/**
	 * 获取：申请金额
	 */
	public Double getShenqingjine() {
		return shenqingjine;
	}
	/**
	 * 设置：账户名称
	 */
	public void setZhanghumingcheng(String zhanghumingcheng) {
		this.zhanghumingcheng = zhanghumingcheng;
	}
	/**
	 * 获取：账户名称
	 */
	public String getZhanghumingcheng() {
		return zhanghumingcheng;
	}
	/**
	 * 设置：开户银行
	 */
	public void setKaihuyinxing(String kaihuyinxing) {
		this.kaihuyinxing = kaihuyinxing;
	}
	/**
	 * 获取：开户银行
	 */
	public String getKaihuyinxing() {
		return kaihuyinxing;
	}
	/**
	 * 设置：申请账号
	 */
	public void setShenqingzhanghao(String shenqingzhanghao) {
		this.shenqingzhanghao = shenqingzhanghao;
	}
	/**
	 * 获取：申请账号
	 */
	public String getShenqingzhanghao() {
		return shenqingzhanghao;
	}
	/**
	 * 设置：申请人
	 */
	public void setShenqingren(String shenqingren) {
		this.shenqingren = shenqingren;
	}
	/**
	 * 获取：申请人
	 */
	public String getShenqingren() {
		return shenqingren;
	}
	/**
	 * 设置：部门
	 */
	public void setBumen(String bumen) {
		this.bumen = bumen;
	}
	/**
	 * 获取：部门
	 */
	public String getBumen() {
		return bumen;
	}
	/**
	 * 设置：审批状态
	 */
	public void setShenpizhuangtai(String shenpizhuangtai) {
		this.shenpizhuangtai = shenpizhuangtai;
	}
	/**
	 * 获取：审批状态
	 */
	public String getShenpizhuangtai() {
		return shenpizhuangtai;
	}
	/**
	 * 设置：审批意见
	 */
	public void setShenpiyijian(String shenpiyijian) {
		this.shenpiyijian = shenpiyijian;
	}
	/**
	 * 获取：审批意见
	 */
	public String getShenpiyijian() {
		return shenpiyijian;
	}
	/**
	 * 设置：审批时间
	 */
	public void setShenpishijian(Date shenpishijian) {
		this.shenpishijian = shenpishijian;
	}
	/**
	 * 获取：审批时间
	 */
	public Date getShenpishijian() {
		return shenpishijian;
	}
	/**
	 * 设置：工号
	 */
	public void setGonghao(String gonghao) {
		this.gonghao = gonghao;
	}
	/**
	 * 获取：工号
	 */
	public String getGonghao() {
		return gonghao;
	}
	/**
	 * 设置：姓名
	 */
	public void setXingming(String xingming) {
		this.xingming = xingming;
	}
	/**
	 * 获取：姓名
	 */
	public String getXingming() {
		return xingming;
	}
	/**
	 * 设置：跨表用户id
	 */
	public void setCrossuserid(Long crossuserid) {
		this.crossuserid = crossuserid;
	}
	/**
	 * 获取：跨表用户id
	 */
	public Long getCrossuserid() {
		return crossuserid;
	}
	/**
	 * 设置：跨表主键id
	 */
	public void setCrossrefid(Long crossrefid) {
		this.crossrefid = crossrefid;
	}
	/**
	 * 获取：跨表主键id
	 */
	public Long getCrossrefid() {
		return crossrefid;
	}

}
